package com.jic.market.service.rest.coupon;

import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.market.request.rest.coupon.*;
import com.jic.market.response.rest.coupon.QueryCouponPersonResponse;
import com.jic.market.response.rest.coupon.QueryCouponCenterResponse;

import java.util.List;

public interface CouponRestService {
    RestResult<PageResult<QueryCouponCenterResponse>> queryCouponCenter(QuyerCouponCenterRequest quyerCouponCenterRequest);

    RestResult<Boolean> receiveCoupon(CouponReceiveOfPersonRequest couponReceiveOfPersonRequest);

    RestResult<PageResult<QueryCouponPersonResponse>> couponListOfPerson(QueryCouponPersonRequest queryCouponPersonRequest);

    RestResult<PageResult<QueryCouponCenterResponse>> queryCouponByThirdProductCode(CouponListOfGoodsRequest couponListOfGoodsRequest);

    RestResult<List<QueryCouponPersonResponse>> settlementMyCouponList(SettlementMyCouponRequest settlementMyCouponRequest);

    RestResult<Boolean> useCoupons(UseCouponRequest useCouponRequest);

    RestResult<Boolean> returnCoupon(ReturnCouponRequest returnCouponRequest);

    RestResult<QueryCouponCenterResponse> queryCouponInfo(QuyerCouponCenterRequest quyerCouponCenterRequest);

    RestResult<PageResult<QueryCouponCenterResponse>> getPhoneCouponCenter(QuyerCouponCenterRequest quyerCouponCenterRequest);
}
